package ads_sdp_server_scanning;//package ads_sdp_server_scanning;//package ads_sdp_server_scanning;
//
//
//
import junit.framework.TestCase;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import cn.piesat.scanning.Application;
import cn.piesat.scanning.business.ads.single.AdsSingleTask;
import cn.piesat.scanning.dao.HtScanningMetadataDAO;
import cn.piesat.scanning.dto.HtScanningMetadataDTO;
import cn.piesat.scanning.service.AlgorithmExecService;


@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class T {
	@Autowired
	private HtScanningMetadataDAO dao;

	  @Autowired
	    private AdsSingleTask task;

    @Test
    public void qwe(){
//    	HtScanningMetadataDTO dto = new HtScanningMetadataDTO();
//
//    	dao.save(dto);

    	task.process("8aa8d2978382f394018407f259c50077");
    }
}

